<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <title>Test Case for Issue #3400</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>

<h1>Issue #3400</h1>

<p>This test-case is intended for <a href="http://code.google.com/p/fbug/issues/detail?id=3400">Issue #3400</a>
- <span class="h3">Debugger buttons not visible when long stack trace</span>.
<br/>
<i>Jan Odvarko, odvarko@gmail.com</i>
</p>

<script type="text/javascript">
function onExecuteTest(i)
{
    if(i>50)
        debugger;
    else
        onExecuteTest(i+1)
}
</script>

<ol>
<li>Open Firebug and enable the Script panel.</li>
<li>Click on the <code style="color:green">Execute Test</code> button below.</li>
<li>The debugger should stop at line <span style="color:green">20</span></li>
<li>Verify that buttons for debugging (step-into, step-over, step-out) are
visible on the Script panel toolbar.</li>
</ol>

<i>Debugger buttons were pushed out of screen in case large stacks.</i>
<br/><br/>

<button id="testButton" onclick="onExecuteTest(0)">Execute Test</button>

</body>
</html>
